//
//  UIViewController+Custom.m
//  QuickCure
//
//  Created by 马文星 on 16/5/1.
//  Copyright © 2016年 Demos. All rights reserved.
//

#import "UIViewController+Custom.h"

@implementation UIViewController (Custom)


+(UIViewController *)creatVCByStoryBoardWIthSBName:(NSString *)sbName VCIdentify:(NSString *)VCIdentify{

    UIStoryboard *sb = [UIStoryboard storyboardWithName:sbName bundle:nil];
    
   UIViewController *newVC =  [sb instantiateViewControllerWithIdentifier:VCIdentify];

    return newVC;
}

@end
